package model;

public class book {
	private String bname;
	private String author;
	private long ownerid;
	private boolean isLented;
	private String whoLendIt;
	private String desc;

	public book(String name, String author, long ownerid, String desc) {
		this.bname = name;
		this.author = author;
		this.ownerid = ownerid;
		this.desc = desc;
	}

	public book(String name, String author, long ownerid, boolean islented, String whoLendIt, String desc){
		this.bname = name;
		this.author = author;
		this.ownerid = ownerid;
		this.isLented = islented;
		this.whoLendIt = whoLendIt;
		this.desc = desc;
	}

	public String getBname() {
		return bname;
	}

	public void setBname(String bname) {
		this.bname = bname;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public long getOwnerid() {
		return ownerid;
	}

	public void setOwnerid(long ownerid) {
		this.ownerid = ownerid;
	}

	public boolean isLented() {
		return isLented;
	}

	public void setLented(boolean isLented) {
		this.isLented = isLented;
	}

	public String getWhoLendIt() {
		return whoLendIt;
	}

	public void setWhoLendIt(String whoLendIt) {
		this.whoLendIt = whoLendIt;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}
}
